import request from '@/utils/request.js'

// 获取企业列表
// /pollution/enterpriseRelation
export function  enterpriseRelation (data ={}) {
  return request({
    url: '/pollution/enterpriseRelation',
    method: 'post',
    data: data,
  })
}
// 监测情况统计 /pollution/statisticMonitorRate
export function statisticMonitorRate (data ={}) {
  return request({
    url: '/pollution/statisticMonitorRate',
    method: 'get',
    params: data,
  })
}
// /pollution/polluteTree
export function polluteTree (data ={}) {
  return request({
    url: '/pollution/polluteTree',
    method: 'get',
    params: data,
  })
}

//污染因子
///buspollutant/list
export function buspollutantList(params ={}) {
  return request({
    url: '/buspollutant/list',
    method: 'get',
    params,
  })
}
// /pollution/enterpriseAnalyse
export function enterpriseAnalyse (data ={}) {
  return request({
    url: '/pollution/enterpriseAnalyse',
    method: 'get',
    params: data,
  })
}

// /pollution/polluteTypeAnalyse
export function polluteTypeAnalyse (data ={}) {
  return request({
    url: '/pollution/polluteTypeAnalyse',
    method: 'get',
    params: data,
  })
}